package entity;

public class User {
    private int id;
    private String username;
    private String tellnum;
    private String address;
    private String cardnum;
    private String userid;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", tellnum='" + tellnum + '\'' +
                ", address='" + address + '\'' +
                ", cardnum='" + cardnum + '\'' +
                ", userid='" + userid + '\'' +
                '}';
    }

    public User() {
    }

    public User(int id, String username, String tellnum, String address, String cardnum, String userid) {
        this.id = id;
        this.username = username;
        this.tellnum = tellnum;
        this.address = address;
        this.cardnum = cardnum;
        this.userid = userid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTellnum() {
        return tellnum;
    }

    public void setTellnum(String tellnum) {
        this.tellnum = tellnum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}

